using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace CommandPatternApp
{
    abstract public class BaseCmd
    {
        protected TextEditor _editor;
        protected CmdFactory _factory;
        abstract public void Execute();

        protected BaseCmd(TextEditor editor, CmdFactory factory)
        {
            _editor = editor;
            _factory = factory;
        }
    }
}
